package com.mrjy.aiui.controller;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.mrjy.aiui.bo.IAiuiUserSessionInfoBo;
import com.mrjy.aiui.dto.AiuiRecordInfoExportDTO;
import com.mrjy.aiui.dto.AiuiUserSessionInfoDTO;
import com.mrjy.maintain.dto.PromoteDetailDTO;

@Controller
@RequestMapping("/aiui/aiuiUserSession")
public class AiuiUserSessionInfoController {
	@Resource
	private IAiuiUserSessionInfoBo aiuiUserSessionInfoBo ;
	
	@RequestMapping("/selectListForBack")
	@ResponseBody
	public Object selectListForBack(AiuiUserSessionInfoDTO dto){
		return aiuiUserSessionInfoBo.selectListForBack(dto) ;
	}
	
	/**
	 * 导出excel
	 * @param dto
	 * @param response
	 * @return
	 */
	@RequestMapping("/export")
	@ResponseBody
	public Object export(AiuiRecordInfoExportDTO dto,HttpServletResponse response){
		return aiuiUserSessionInfoBo.exportExl(dto,response);
	}
}
